#include "DATSIFTFactory.h"


DATObject* DATSIFTFactory::createDATObject(cv::Mat& inImage)
{
	DATObject* lNewDATObjectSIFT = new DATObjectSIFT;
	lNewDATObjectSIFT->mLastSeenObject = inImage;
	return lNewDATObjectSIFT;
}

DATFrame* DATSIFTFactory::createDATFrame(cv::Mat& inImage, int inFramePos)
{
	//Does not take control of the frame... should not copy it !
	DATFrame* lNewDATFrameSIFT = new DATFrameSIFT(inImage,inFramePos); 
	return lNewDATFrameSIFT;
}
